package com.example.demo.common.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OutRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OutRecordExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOidIsNull() {
            addCriterion("oid is null");
            return (Criteria) this;
        }

        public Criteria andOidIsNotNull() {
            addCriterion("oid is not null");
            return (Criteria) this;
        }

        public Criteria andOidEqualTo(Integer value) {
            addCriterion("oid =", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotEqualTo(Integer value) {
            addCriterion("oid <>", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidGreaterThan(Integer value) {
            addCriterion("oid >", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidGreaterThanOrEqualTo(Integer value) {
            addCriterion("oid >=", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidLessThan(Integer value) {
            addCriterion("oid <", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidLessThanOrEqualTo(Integer value) {
            addCriterion("oid <=", value, "oid");
            return (Criteria) this;
        }

        public Criteria andOidIn(List<Integer> values) {
            addCriterion("oid in", values, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotIn(List<Integer> values) {
            addCriterion("oid not in", values, "oid");
            return (Criteria) this;
        }

        public Criteria andOidBetween(Integer value1, Integer value2) {
            addCriterion("oid between", value1, value2, "oid");
            return (Criteria) this;
        }

        public Criteria andOidNotBetween(Integer value1, Integer value2) {
            addCriterion("oid not between", value1, value2, "oid");
            return (Criteria) this;
        }

        public Criteria andDidIsNull() {
            addCriterion("did is null");
            return (Criteria) this;
        }

        public Criteria andDidIsNotNull() {
            addCriterion("did is not null");
            return (Criteria) this;
        }

        public Criteria andDidEqualTo(Integer value) {
            addCriterion("did =", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotEqualTo(Integer value) {
            addCriterion("did <>", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThan(Integer value) {
            addCriterion("did >", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidGreaterThanOrEqualTo(Integer value) {
            addCriterion("did >=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThan(Integer value) {
            addCriterion("did <", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidLessThanOrEqualTo(Integer value) {
            addCriterion("did <=", value, "did");
            return (Criteria) this;
        }

        public Criteria andDidIn(List<Integer> values) {
            addCriterion("did in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotIn(List<Integer> values) {
            addCriterion("did not in", values, "did");
            return (Criteria) this;
        }

        public Criteria andDidBetween(Integer value1, Integer value2) {
            addCriterion("did between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andDidNotBetween(Integer value1, Integer value2) {
            addCriterion("did not between", value1, value2, "did");
            return (Criteria) this;
        }

        public Criteria andExeidIsNull() {
            addCriterion("exeId is null");
            return (Criteria) this;
        }

        public Criteria andExeidIsNotNull() {
            addCriterion("exeId is not null");
            return (Criteria) this;
        }

        public Criteria andExeidEqualTo(Integer value) {
            addCriterion("exeId =", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidNotEqualTo(Integer value) {
            addCriterion("exeId <>", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidGreaterThan(Integer value) {
            addCriterion("exeId >", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("exeId >=", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidLessThan(Integer value) {
            addCriterion("exeId <", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidLessThanOrEqualTo(Integer value) {
            addCriterion("exeId <=", value, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidIn(List<Integer> values) {
            addCriterion("exeId in", values, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidNotIn(List<Integer> values) {
            addCriterion("exeId not in", values, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidBetween(Integer value1, Integer value2) {
            addCriterion("exeId between", value1, value2, "exeid");
            return (Criteria) this;
        }

        public Criteria andExeidNotBetween(Integer value1, Integer value2) {
            addCriterion("exeId not between", value1, value2, "exeid");
            return (Criteria) this;
        }

        public Criteria andEidIsNull() {
            addCriterion("eid is null");
            return (Criteria) this;
        }

        public Criteria andEidIsNotNull() {
            addCriterion("eid is not null");
            return (Criteria) this;
        }

        public Criteria andEidEqualTo(Integer value) {
            addCriterion("eid =", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidNotEqualTo(Integer value) {
            addCriterion("eid <>", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidGreaterThan(Integer value) {
            addCriterion("eid >", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidGreaterThanOrEqualTo(Integer value) {
            addCriterion("eid >=", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidLessThan(Integer value) {
            addCriterion("eid <", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidLessThanOrEqualTo(Integer value) {
            addCriterion("eid <=", value, "eid");
            return (Criteria) this;
        }

        public Criteria andEidIn(List<Integer> values) {
            addCriterion("eid in", values, "eid");
            return (Criteria) this;
        }

        public Criteria andEidNotIn(List<Integer> values) {
            addCriterion("eid not in", values, "eid");
            return (Criteria) this;
        }

        public Criteria andEidBetween(Integer value1, Integer value2) {
            addCriterion("eid between", value1, value2, "eid");
            return (Criteria) this;
        }

        public Criteria andEidNotBetween(Integer value1, Integer value2) {
            addCriterion("eid not between", value1, value2, "eid");
            return (Criteria) this;
        }

        public Criteria andGidIsNull() {
            addCriterion("gid is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("gid is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("gid =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("gid <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("gid >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("gid >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("gid <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("gid <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("gid in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("gid not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("gid between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("gid not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andDividIsNull() {
            addCriterion("divId is null");
            return (Criteria) this;
        }

        public Criteria andDividIsNotNull() {
            addCriterion("divId is not null");
            return (Criteria) this;
        }

        public Criteria andDividEqualTo(Integer value) {
            addCriterion("divId =", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividNotEqualTo(Integer value) {
            addCriterion("divId <>", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividGreaterThan(Integer value) {
            addCriterion("divId >", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividGreaterThanOrEqualTo(Integer value) {
            addCriterion("divId >=", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividLessThan(Integer value) {
            addCriterion("divId <", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividLessThanOrEqualTo(Integer value) {
            addCriterion("divId <=", value, "divid");
            return (Criteria) this;
        }

        public Criteria andDividIn(List<Integer> values) {
            addCriterion("divId in", values, "divid");
            return (Criteria) this;
        }

        public Criteria andDividNotIn(List<Integer> values) {
            addCriterion("divId not in", values, "divid");
            return (Criteria) this;
        }

        public Criteria andDividBetween(Integer value1, Integer value2) {
            addCriterion("divId between", value1, value2, "divid");
            return (Criteria) this;
        }

        public Criteria andDividNotBetween(Integer value1, Integer value2) {
            addCriterion("divId not between", value1, value2, "divid");
            return (Criteria) this;
        }

        public Criteria andOstarttimeIsNull() {
            addCriterion("oStartTime is null");
            return (Criteria) this;
        }

        public Criteria andOstarttimeIsNotNull() {
            addCriterion("oStartTime is not null");
            return (Criteria) this;
        }

        public Criteria andOstarttimeEqualTo(Date value) {
            addCriterion("oStartTime =", value, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeNotEqualTo(Date value) {
            addCriterion("oStartTime <>", value, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeGreaterThan(Date value) {
            addCriterion("oStartTime >", value, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("oStartTime >=", value, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeLessThan(Date value) {
            addCriterion("oStartTime <", value, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeLessThanOrEqualTo(Date value) {
            addCriterion("oStartTime <=", value, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeIn(List<Date> values) {
            addCriterion("oStartTime in", values, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeNotIn(List<Date> values) {
            addCriterion("oStartTime not in", values, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeBetween(Date value1, Date value2) {
            addCriterion("oStartTime between", value1, value2, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOstarttimeNotBetween(Date value1, Date value2) {
            addCriterion("oStartTime not between", value1, value2, "ostarttime");
            return (Criteria) this;
        }

        public Criteria andOendtimeIsNull() {
            addCriterion("oEndTime is null");
            return (Criteria) this;
        }

        public Criteria andOendtimeIsNotNull() {
            addCriterion("oEndTime is not null");
            return (Criteria) this;
        }

        public Criteria andOendtimeEqualTo(Date value) {
            addCriterion("oEndTime =", value, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeNotEqualTo(Date value) {
            addCriterion("oEndTime <>", value, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeGreaterThan(Date value) {
            addCriterion("oEndTime >", value, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("oEndTime >=", value, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeLessThan(Date value) {
            addCriterion("oEndTime <", value, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeLessThanOrEqualTo(Date value) {
            addCriterion("oEndTime <=", value, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeIn(List<Date> values) {
            addCriterion("oEndTime in", values, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeNotIn(List<Date> values) {
            addCriterion("oEndTime not in", values, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeBetween(Date value1, Date value2) {
            addCriterion("oEndTime between", value1, value2, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOendtimeNotBetween(Date value1, Date value2) {
            addCriterion("oEndTime not between", value1, value2, "oendtime");
            return (Criteria) this;
        }

        public Criteria andOdescriptionIsNull() {
            addCriterion("oDescription is null");
            return (Criteria) this;
        }

        public Criteria andOdescriptionIsNotNull() {
            addCriterion("oDescription is not null");
            return (Criteria) this;
        }

        public Criteria andOdescriptionEqualTo(String value) {
            addCriterion("oDescription =", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionNotEqualTo(String value) {
            addCriterion("oDescription <>", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionGreaterThan(String value) {
            addCriterion("oDescription >", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("oDescription >=", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionLessThan(String value) {
            addCriterion("oDescription <", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionLessThanOrEqualTo(String value) {
            addCriterion("oDescription <=", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionLike(String value) {
            addCriterion("oDescription like", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionNotLike(String value) {
            addCriterion("oDescription not like", value, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionIn(List<String> values) {
            addCriterion("oDescription in", values, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionNotIn(List<String> values) {
            addCriterion("oDescription not in", values, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionBetween(String value1, String value2) {
            addCriterion("oDescription between", value1, value2, "odescription");
            return (Criteria) this;
        }

        public Criteria andOdescriptionNotBetween(String value1, String value2) {
            addCriterion("oDescription not between", value1, value2, "odescription");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeIsNull() {
            addCriterion("ogeneralagree is null");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeIsNotNull() {
            addCriterion("ogeneralagree is not null");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeEqualTo(Short value) {
            addCriterion("ogeneralagree =", value, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeNotEqualTo(Short value) {
            addCriterion("ogeneralagree <>", value, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeGreaterThan(Short value) {
            addCriterion("ogeneralagree >", value, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeGreaterThanOrEqualTo(Short value) {
            addCriterion("ogeneralagree >=", value, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeLessThan(Short value) {
            addCriterion("ogeneralagree <", value, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeLessThanOrEqualTo(Short value) {
            addCriterion("ogeneralagree <=", value, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeIn(List<Short> values) {
            addCriterion("ogeneralagree in", values, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeNotIn(List<Short> values) {
            addCriterion("ogeneralagree not in", values, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeBetween(Short value1, Short value2) {
            addCriterion("ogeneralagree between", value1, value2, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOgeneralagreeNotBetween(Short value1, Short value2) {
            addCriterion("ogeneralagree not between", value1, value2, "ogeneralagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeIsNull() {
            addCriterion("odividagree is null");
            return (Criteria) this;
        }

        public Criteria andOdividagreeIsNotNull() {
            addCriterion("odividagree is not null");
            return (Criteria) this;
        }

        public Criteria andOdividagreeEqualTo(Short value) {
            addCriterion("odividagree =", value, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeNotEqualTo(Short value) {
            addCriterion("odividagree <>", value, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeGreaterThan(Short value) {
            addCriterion("odividagree >", value, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeGreaterThanOrEqualTo(Short value) {
            addCriterion("odividagree >=", value, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeLessThan(Short value) {
            addCriterion("odividagree <", value, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeLessThanOrEqualTo(Short value) {
            addCriterion("odividagree <=", value, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeIn(List<Short> values) {
            addCriterion("odividagree in", values, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeNotIn(List<Short> values) {
            addCriterion("odividagree not in", values, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeBetween(Short value1, Short value2) {
            addCriterion("odividagree between", value1, value2, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdividagreeNotBetween(Short value1, Short value2) {
            addCriterion("odividagree not between", value1, value2, "odividagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeIsNull() {
            addCriterion("odeputyagree is null");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeIsNotNull() {
            addCriterion("odeputyagree is not null");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeEqualTo(Short value) {
            addCriterion("odeputyagree =", value, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeNotEqualTo(Short value) {
            addCriterion("odeputyagree <>", value, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeGreaterThan(Short value) {
            addCriterion("odeputyagree >", value, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeGreaterThanOrEqualTo(Short value) {
            addCriterion("odeputyagree >=", value, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeLessThan(Short value) {
            addCriterion("odeputyagree <", value, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeLessThanOrEqualTo(Short value) {
            addCriterion("odeputyagree <=", value, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeIn(List<Short> values) {
            addCriterion("odeputyagree in", values, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeNotIn(List<Short> values) {
            addCriterion("odeputyagree not in", values, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeBetween(Short value1, Short value2) {
            addCriterion("odeputyagree between", value1, value2, "odeputyagree");
            return (Criteria) this;
        }

        public Criteria andOdeputyagreeNotBetween(Short value1, Short value2) {
            addCriterion("odeputyagree not between", value1, value2, "odeputyagree");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}